package com.accompany.model;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单表
 * </p>
 *
 * @author lfs
 * @since 2023-03-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Order extends Model<Order> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("下单人id")
    private String subscriberId;

    @ApiModelProperty("下单人")
    private String subscriber;

    @ApiModelProperty("服务金额")
    private String paymantPrice;

    @ApiModelProperty("陪诊类型id")
    private String accompanyServiceId;

    @ApiModelProperty("陪诊类型")
    private String accompanyService;

    @ApiModelProperty("服务医院")
    private String hospital;

    @ApiModelProperty("科室")
    private String hospitalDepaId;

    @ApiModelProperty("科室")
    private String hospitalDepa;

    @ApiModelProperty("就诊人id")
    private String patientId;

    @ApiModelProperty("就诊人")
    private String patient;

    @ApiModelProperty("就诊时间")
    private String serviceTime;

    @ApiModelProperty("陪诊人id")
    private String accompanyUserId;

    @ApiModelProperty("陪诊人")
    private String accompanyUser;

    @ApiModelProperty("陪诊人电话")
    private String accompanyUserPhone;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("服务状态 0 下单 1已经支付 2服务中 3 服务器完成")
    private String orderState;

    @ApiModelProperty("创建时间")
    private Date cerateTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("删除标志 0删除 1正常")
    private Integer delState;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
